package com.woniuxy01;

import java.util.Scanner;

/**
 * @author 作者
 * @create 2025-10-30 11:45
 */
public class Test02 {
    public static void main(String[] args) {
        Student s1=new Student();
        s1.name="zs";

//        s1.schoolAddress="xxx";
        Student.schoolAddress="xxx";
        System.out.println(s1.name);
        System.out.println(s1.schoolAddress);


        Student s2=new Student();
        s2.name="ls";
//        s2.schoolAddress="yyy";
        Student.schoolAddress="yyy";
        System.out.println(s2.name);
//        System.out.println(s2.schoolAddress);
        System.out.println(Student.schoolAddress);
        System.out.println("-----------------");
        System.out.println(s1.name);
//        System.out.println(s1.schoolAddress);
        System.out.println(Student.schoolAddress);
    }
}
